package com.wowangz.cms.user.service;


import java.util.List;
import java.util.Map;

import com.wowangz.cms.syscore.exception.ServiceException;
import com.wowangz.cms.syscore.service.BaseService;
import com.wowangz.cms.user.pojo.MenuAdmin;

public class MenuAdminService extends BaseService{

	
	/**
	 * 获得所有管理菜单
	 * @param hashMap
	 * @return
	 * @throws ServiceException
	 */
	public List<MenuAdmin> queryMenuAll(Map<String, Object> hashMap) throws ServiceException{
		List<MenuAdmin> list = this.getSqlSession().selectList("Menu_admin.queryMenuAll", hashMap);
		return list;
	}
	
	/**
	 * 获得所有管理菜单
	 * @param hashMap
	 * @return
	 * @throws ServiceException
	 */
	public List<MenuAdmin> queryNormalMenu(Map<String, Object> hashMap) throws ServiceException{
		List<MenuAdmin> list = this.getSqlSession().selectList("Menu_admin.queryNormalMenu", hashMap);
		return list;
	}
}
